﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StoreProject.Entity.OtherEntity
{
    [Serializable]
    public class PrinterSettingEntity
    {
        public PrinterSettingEntity()
        { }

        public PageSetting pageSetting { get; set; }
        public PrinterSetting printerSetting { get; set; }
    }


    [Serializable]
    public class PageSetting
    {
        public PageSetting()
        { }

        public PaperSize PaperSize { get; set; }
        public bool Landscape { get; set; }
        public Margin Margin { get; set; }
    }
    [Serializable]
    public class PaperSize
    {
        public PaperSize() { }
        public int Height { get; set; }
        public int Width { get; set; }

        public int RawKind { get; set; }
        public string PaperName { get; set; }

        public int Kind { get; set; }

    }

    [Serializable]
    public class PrinterSetting
    {
        public PrinterSetting() { }
        public string PrinterName { get; set; }
    }

    [Serializable]
    public class Margin
    {
        public Margin() { }

        public int Top { get; set; }
        public int Left { get; set; }
        public int Right { get; set; }
        public int Bottom { get; set; }
    }
}
